package chexuan.game.bean.serviceParam;

import chexuan.game.bean.EnumChexuanDB;

public class DBBean {

	private final EnumChexuanDB enumDB;
	private String dataSource = "";
	private String user = "";
	private String password = "";

	public DBBean(EnumChexuanDB enumDB) {
		this.enumDB = enumDB;
	}

	public EnumChexuanDB getEnumDB() {
		return enumDB;
	}

	public String getDBName() {
		return enumDB.getName();
	}

	public String getDataSource() {
		return dataSource;
	}

	public String getUser() {
		return user;
	}

	public String getPassword() {
		return password;
	}

	public void setDataSource(String dataSource) {
		this.dataSource = dataSource;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public void setPassword(String password) {
		this.password = password;
	}
}
